home *** CD-ROM | disk | FTP | other *** search
- Path: news.umbc.edu!not-for-mail
- From: schlein@umbc.edu (Jonas J. Schlein)
- Newsgroups: comp.lang.c
- Subject: Re: Pointer-to-Double as Function Arg
- Date: 16 Jan 1996 11:14:23 -0500
- Organization: University of Maryland Baltimore County
- Message-ID: <4dgisv$r22@umbc9.umbc.edu>
- References: <4dfccl$j5h@colossus.holonet.net>
- NNTP-Posting-Host: f-umbc9.umbc.edu
- NNTP-Posting-User: schlein
-
- Mitch Miller <mitch@news.mdli.com> wrote:
- |> I'm having a problem with a function that takes a
- |> couple of pointer-to-double arguments, initializes then
- |> and assigns values to them in an array style:
- |>
- |> Function is something like:
-
- [incorrect code deleted]
-
- |> When I look at the values of Values1 and Values2 in GetValue, they have
- |> the correct values.
- |>
- |> However, back in main, they have NULL values.
-
- <snip>
-
- |> I've checked the FAQs, but couldn't find anything quite like this.
-
- How far did you get? Your question is answered in question 4.8. Since you
- already have the FAQ then looking it up should be trivial.
- --
- "If it wasn't for C, we would be using BASI, PASAL, and OBOL."
-
- Jonas J. Schlein (schlein@gl.umbc.edu)
-